package org.zcl.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 工会频道(TbUnionChannel)表实体类
 *
 * @author Chenglin Zhu
 * @since 2022-01-06 16:28:48
 */
@SuppressWarnings("serial")
public class TbUnionChannel extends Model<TbUnionChannel> {
    //主键
    private Integer id;
    //工会id
    private Integer unionId;
    //频道id
    private Integer channelId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUnionId() {
        return unionId;
    }

    public void setUnionId(Integer unionId) {
        this.unionId = unionId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

